<template>
	<view>
		<view class="u-m-t-20">
			<u-cell-group>
				<u-cell-item icon="star" @click="toOrderManage()" title="我的订单"></u-cell-item>
				<u-cell-item icon="coupon" @click="toAddress()" title="地址管理"></u-cell-item>
			</u-cell-group>
		</view>
	</view>
</template>

<script setup>
	import {
		onLoad,
		onShow
	} from "@dcloudio/uni-app"
	import {
		ref
	} from 'vue'
	//跳转我的订单页面
	const toOrderManage = () => {
		//在起始页面跳转到detail页面
		uni.navigateTo({
			url: '../orderManage/orderManage'
		});
	}
	//跳转到新增地址的页面
	const toAddress = () => {
		uni.navigateTo({
			url: '../addressList/addressList'
		})
	}
</script>

<style lang="scss">
	page{
		background-color: #ededed;
	}
	
	.camera{
		width: 54px;
		height: 44px;
		
		&:active{
			background-color: #ededed;
		}
	}
	.user-box{
		background-color: #fff;
	}
</style>